import torch.nn as nn


class MyNet2(nn.Module):
    def __init__(self):
        super(MyNet2, self).__init__()
        self.layer=nn.Sequential(
            nn.Linear(1, 10), nn.Sigmoid(),
            nn.Linear(10, 100), nn.ReLU(),
            nn.Linear(100, 10), nn.ReLU(),
            nn.Linear(10, 1)
        )
    def forward(self, x):
        x = self.layer(x)
        return x